#pragma once
#include "DrawnEntity.h"
#include "Texture2D.h"

struct Colour {
	int R, G, B;
};

class UI_Button :
	public DrawnEntity
{
public:
	UI_Button(void);
	UI_Button(const Texture2D * assigned_texture);
	~UI_Button(void);

	void AssignTexture(const Texture2D * assigned_texture);

	void Draw();
	void DefaultDraw();

	float width, height;

private:
	Texture2D * texture;
	Colour colour;

	void NoTextureDraw(VectorXYZ position, VectorXYZ orientation, VectorXYZ up, float scale =1, float width =1, float height =1);
	void NoTextureDefaultDraw();
};

